package ru.mipt.sport.model.interfaces;

import java.util.Date;
import ru.mipt.sport.model.entity.CompetitionEntity;
import ru.mipt.sport.model.entity.SportSpecializationEntity;

/**
 *
 * @author Danon
 */
public interface CompetitionSport {

    CompetitionEntity getCompetition();
    Long getId();
    String getName();
    int getPeoplePerRun();
    SportSpecializationEntity getSpecialization();
    void setCompetition(CompetitionEntity competition);
    void setId(Long id);
    void setName(String name);
    void setPeoplePerRun(int peoplePerRun);
    void setSpecialization(SportSpecializationEntity specialization);
    Date getDate();
    void setDate(Date date);
    
}
